package com.yixun.qfbao.request.my;

import org.hibernate.validator.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author zilong.liu
 * @date 2020-8-3
 * @desc
 *		修改密码
 */
public class UpdatePwdReqDto {

	/**
	 * 老密码
	 */
	@NotBlank(message = "旧密码不能为空")
	@ApiModelProperty(value = "老密码")
	private String oldPassword;
	
	/**
	 * 新密码
	 */
	@NotBlank(message = "新密码不能为空")
	@ApiModelProperty(value = " 新密码")
    private String newPassword;
    
    /**
     * 确认密码
     */
	@NotBlank(message = "确认密码不能为空")
	@ApiModelProperty(value = "确认密码")
    private String confirmPassword;

	public String getOldPassword() {
		return oldPassword;
	}

	public void setOldPassword(String oldPassword) {
		this.oldPassword = oldPassword;
	}

	public String getNewPassword() {
		return newPassword;
	}

	public void setNewPassword(String newPassword) {
		this.newPassword = newPassword;
	}

	public String getConfirmPassword() {
		return confirmPassword;
	}

	public void setConfirmPassword(String confirmPassword) {
		this.confirmPassword = confirmPassword;
	}
    
    
}
